<?php
    $here = $this->request->params;
    $doNotSelect = !!@$doNotSelect;
?><menu>
    <? foreach ($menu as $label => $link): ?>
    <? $route = Router::parse($link) ?>
    <li><?
        if (
            !$doNotSelect &&
            $here['controller']==$route['controller'] && 
            $here['action']==$route['action'] &&
            $here['pass']==$route['pass']
        ): ?><strong><?= $label ?></strong><? 
            
        else:
        
        ?><?= $this->Html->link($label, $link) ?><? 
        
        endif
         
    ?></li>
    <? endforeach ?>
</menu>